﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DomainModel;
using Utils;
using System.ComponentModel.DataAnnotations;
using DataAnnotationsExtensions;

namespace WebUI.Models
{
    public class IndUploadShotViewModel: BaseViewModel
    {
        public IndUploadShotViewModel()
            : base()
        { }

        public HttpPostedFileBase Shot { get; set; }

        [NoHtml]
        [Required]
        [StringLength(64, ErrorMessage = "The Title field has maximum 64 characters")]
        public string Title { get; set; }

        [NoHtml]
        [StringLength(500, ErrorMessage = "The Description field has maximum 500 characters")]
        public string Description { get; set; }
    }
}